package com.house.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 房屋家具类对象 house_support
 * 
 * @author tc
 * @date 2022-02-04
 */
public class HouseSupport
{
    private static final long serialVersionUID = 1L;

    /** 房屋编号 */
    private Long houseId;

    /** 提供的家具名称 */
    private String supportName;

    /** 家具是否存在此房屋标识 默认不存在*/
    private boolean flag = false;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setHouseId(Long houseId)
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setSupportName(String supportName) 
    {
        this.supportName = supportName;
    }

    public String getSupportName() 
    {
        return supportName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseId", getHouseId())
            .append("supportName", getSupportName())
            .toString();
    }
}
